PPCompress

Section: AmigaDOS local (1)
Updated: LOCAL COMMANDS
Index Return to Main Contents
 

NAME

ppcompress, ppuncompress, ppcat - compress and expand data  

SYNOPSIS

ppcompress [ -p 0|1 ] [ -e f|m|g|v|b ]
             [ -b s|m|l ] [ name ... ]
ppuncompress [ -p 0|1 ] [ name ... ]
ppcat [ name ... ]
 

DESCRIPTION

PPCompress reduces the size of the named files using the PowerPacker compression scheme, available through the powerpacker.library. PPCompress takes one or more files as input, compressing each in turn and saving it according to the -p option. If -p1 is used, the output file will be named by appending the suffix ".pp" to the input file name, and the input file will be deleted. If -p0 is used, the input file will be overwritten by the output.

The -e option defines the crunching efficiency of PPCompress: f, m, g, v, and b stand for "fast", "mediocre", "good", "very good", and "best", respectively. As you move up the scale toward "best", data is compressed more tightly, but takes longer to be crunched or decrunched.

The -b option specifies the amount of memory used for crunching. The arguments s, m, and l demand a buffer of "small", "medium", and "large" size, respectively. The buffer size is propagated inside the compressed file to PPUnCompress.

PPUnCompress expands a PPCompressed file back to its original state. If filename is not found, PPUnCompress attempts to open the file filename.pp. If this fails, the user is alerted and no action is taken. If a file is found, it is decrunched and saved with the same name as filename, but with any ".pp" extension removed.

PPCat expands a PPCompressed file, dumping the uncompressed data to standard output. This can be used to write the uncompressed data to some other file or device, as in


      ppcat speech.pp >Hamlet.lines
or
      ppcat speech.pp >SPEAK:

or to feed the data into another command's input stream, as in


      ppcat gcc.tar.pp | tar xf -

PPCompress, PPUnCompress, and PPCat can also work on standard input or through pipes. If input is through stdin or a pipe, any of the programs will send output to stdout. This means that, when used with stdin or pipes, PPUnCompress and PPCat are identical.

PPCompress, PPUnCompress, and PPCat require v35 or greater of powerpacker.library in the libs: directory, or preloaded into the resident library list.

PPCompress, PPUnCompress, and PPCat are the same program. The operation of this program is determined by the name by which the command was called. It must be one of "ppcompress", "ppuncompress", or "ppcat" to be functional. Users of AmigaDOS 2.0 or higher can use this feature to save space on disk by causing "ppcompress" to be the actual program, and making soft links to that file from "ppuncompress" and "ppcat".  

SEE ALSO

compress(1), powerpacker.library(3)  

BUGS

No true bugs known at this point. Note that for maximum portability between machines, the option "-bs" should be used; however, any Amiga with a significant portion of its RAM free and contiguous should be able to handle larger buffers.  

AUTHOR

David Champion
Internet e-mail: dgc3@midway.uchicago.edu

PowerPacker.library by Nico Fran�ois


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
BUGS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 22:00:25 GMT, August 02, 2022